.hierarchyselect {
  display: flex;
  flex-direction: row;
}

.hierarchyselect-wrap {
  display: inline-block;
  border: 1px solid #dadfe3;
  border-radius: 4px;
  overflow: hidden;
}

.hierarchyselect-title {
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  padding: 8px 12px;
  border-bottom: 1px solid #dee4f5;
  background-color: #f9fafd;
  user-select: none;
}

.hierarchyselect-content {
  overflow-y: hidden;
  height: 300px;
}

/*滚动条样式*/
.hierarchyselect-content ::-webkit-scrollbar {
  height: 15px;
  background-color: transparent;
  border-radius: 9px;
}

.hierarchyselect-content ::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 9px;
  background-clip: content-box;
  border: 3px solid transparent;
}

.hierarchyselect-content div {
  outline: none;
}

.hierarchyselect-li {
  padding: 6px 12px;
  position: relative;
  cursor: pointer;
  display: flex;
  user-select: none;
}

.hierarchyselect-li:hover {
  background-color: #edf1f5;
  color: #40a9ff !important;
}

.hierarchyselect-li-active {
  color: #1890ff !important;
}

.hierarchyselect-li-active > .hierarchyselect-icon {
  color: #1890ff !important;
}

.hierarchyselect-text {
  display: inline-block;
  flex: 1 1 auto;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.hierarchyselect-icon {
  color: #999;
  display: flex;
  width: 10px;
}

.hierarchyselect-checkbox {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: rgba(0, 0, 0, 0.85);
  font-size: 14px;
  line-height: 1.5715;
  list-style: none;
  position: relative;
  top: -0.09em;
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
  outline: none;
  cursor: pointer;
}

.hierarchyselect-checkbox:hover .hierarchyselect-checkbox-inner {
  border-color: #1890ff;
}

.hierarchyselect-checkbox-checked .hierarchyselect-checkbox-inner {
  background-color: #1890ff;
  border-color: #1890ff;
}

.hierarchyselect-checkbox-checked .hierarchyselect-checkbox-inner::after {
  position: absolute;
  display: table;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  -webkit-transform: rotate(45deg) scale(1) translate(-50%, -50%);
  transform: rotate(45deg) scale(1) translate(-50%, -50%);
  opacity: 1;
  -webkit-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  content: " ";
}

.hierarchyselect-checkbox-indeterminate .hierarchyselect-checkbox-inner {
  background-color: #fff;
  border-color: #d9d9d9;
}

.hierarchyselect-checkbox-indeterminate .hierarchyselect-checkbox-inner::after {
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background-color: #1890ff;
  border: 0;
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  content: " ";
}

.hierarchyselect-checkbox input {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.hierarchyselect-checkbox-inner {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  width: 16px;
  height: 16px;
  direction: ltr;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  border-collapse: separate;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.hierarchyselect-checkbox-inner::after {
  position: absolute;
  top: 50%;
  left: 22%;
  display: table;
  width: 5.71428571px;
  height: 9.14285714px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  -webkit-transform: rotate(45deg) scale(0) translate(-50%, -50%);
  transform: rotate(45deg) scale(0) translate(-50%, -50%);
  opacity: 0;
  -webkit-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6),
    opacity 0.1s;
  transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
  content: " ";
}

.hierarchyselect-mr-5 {
  margin-right: 5px;
}
